﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.Workshop
{
    /// <summary>
    /// 车间管理信息录入命令类
    /// </summary>
    public class CreateWorkshopCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 车间管理编码
        /// </summary>
        public string Workshopcode { get; set; }

        /// <summary>
        /// 车间名称
        /// </summary>
        public string Workshopname { get; set; }

        /// <summary>
        /// 车间描述
        /// </summary>
        public string Workshopdesc { get; set; }

        /// <summary>
        /// 领料员
        /// </summary>
        public int? UserId { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
    }
}
